function loadData(pageName, callback)
{
        var xhr;
        try {  xhr = new ActiveXObject('Msxml2.XMLHTTP');   }
        catch (e)
        {
        try {   xhr = new ActiveXObject('Microsoft.XMLHTTP'); }
        catch (e2)
        {
           try {  xhr = new XMLHttpRequest();  }
           catch (e3) {  xhr = false;   }
         }
        }

        xhr.onreadystatechange  = function()
        {
            if(xhr.readyState  == 4)
            {
							var obj = "";
              if(xhr.status  == 200)
                  obj=xhr.responseText;
              else
                  obj=xhr.status;
							callback(obj);
            }
        }

        xhr.open( "GET", pageName,  true);
        xhr.send(null);
}
